package com.wangcanxuan.www.util.constant;

public class ValidateConstant {

    /**
     * 验证邮件
     */
    public static final String VALIDATE_EMAIL = "^([a-z0-9A-Z]+[-|\\.]?)+[a-z0-9A-Z]@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-zA-Z]{2,}$";

    /**
     * 验证手机
     */
    public static final String VALIDATE_MOBILE = "^1[3-9]\\d{9}$";

    /**
     * 验证密码
     */
    public static final String VALIDATE_PASSWORD = "^(?=.*[0-9])(?=.*[a-zA-Z])(.{8,20})$";


    /**
     * 验证年龄
     */
    public static final String VALIDATE_AGE = "^[0-9]*$";



}
